package com.huike.pmps.service;

import com.huike.pmps.model.dto.common.PageInfo;
import com.huike.pmps.model.entity.Supplier;
import com.huike.pmps.model.entity.SupplierEvaluates;
import com.huike.pmps.model.vo.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 作者：谌贵斌(黑桃K)
 * 日期: 2888-08-08
 * 老师QQ: 272488352
 * 官方QQ交流群: 377748272
 * 刀客程序员官网：http://www.daoke360.com
 * 刀客程序员淘宝旗舰店：https://daoke360.taobao.com/
 */
public interface SupplierService {

    Result insertOne(Supplier supplier);

    Result selectOneById(Integer id);

    Result selectByCondition(PageInfo pageInfo, String supplierName, Integer supplierTypeId, String provinceName, String serviceTypeName, String contractState);

    Result updateById(Supplier supplier);

    Result deleteById(Integer id);

    Result selectBySupplierType(Integer supplierTypeId);

    Result selectSupplierServiceContent(Integer id);

    void exportSupplier(HttpServletResponse response, String supplierName, Integer supplierTypeId, String provinceName, String serviceTypeName, String contractState);

    Result insertImportSupplier(MultipartFile file);

    Supplier selectOneBySupplierName(String supplierName);


}
